import {createApp} from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store'
import Element from "element-plus";
import $ from "jquery"
import "./style.scss"
import 'ant-design-vue/dist/antd.css';
import * as echarts from 'echarts'
//组件的使用
import Antd from "ant-design-vue";
import "./template.scss"
import "./global.scss"
// import "./media/data_style.scss"

/**
 * 媒体查询
 *
 *
 * */
import "./media/device_basic.scss"
// import "./media/style.scss"

/**
 * ant_design的全局样式
 *
 * */
import "./ant_design_style.scss"


//
const app = createApp(App)
// app.use(Element)
app.config.globalProperties.$echarts = echarts
app.use(store)
app.use(router)
app.use(Antd)
app.use(Element)
// import Vue from 'vue'
// import VueRouter from 'vue-router'
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// import App from './App.vue'
// import router from './router'
// // import store from './store'
// import china from 'echarts/map/json/china.json'
// echarts.registerMap('china', china)
// import "echarts/map/js/world.js";
// import "echarts/map/js/china.js";
// import "echarts/extension-src/bmap/bmap.js";
app.echarts = echarts
app.mount('#app')

//, {size: 'small', zIndex: 3000}
// Vue.prototype.$echarts = echarts
//
// new Vue({
//     router,
//     store,
//     render: h => h(App)
// }).$mount('#app')
// function go_dubugger() {
//     console.log("想进行爬虫么？")
//     debugger
// }
//
// $(document).ready(function () {
//     debugger
// })
